import Vue from 'vue'
import App from './App'
import store from './store'
import uView from 'uview-ui'
import Toast from './wxcomponents/vant-weapp/toast/toast'
import Dialog from './wxcomponents/vant-weapp/dialog/dialog'

Vue.config.productionTip = false
Vue.prototype.$toast = Toast
Vue.prototype.$dialog = Dialog

App.mpType = 'app'

const app = new Vue({
  store,
  uView,
  ...App,
})
app.$mount()
